package top.wshape1.rpc.util;

/**
 * @author Wshape1
 * @version 1.0
 * @description String Utils
 * @since 2024-02-05
 */

public class StringUtil {

    public static boolean hasText(String str) {
        return str != null && !str.trim().isEmpty();
    }

    public static boolean hasLength(String str) {
        return str != null && !str.isEmpty();
    }

}
